(function (window, undefined) {
    const fools = {
        getDateVal(a) {
            return a.val()
        },
        fuhao(a, b, c) {
            console.log(a);
            console.log(b);
            console.log(c);
            switch (a) {
                case "+":
                    return (b + c)
                    break
                case "-":
                    return (b - c)
                    break
                case "*":
                    return (b * c)
                    break
                case "/":
                    return (b / c)
                    break
                default:
                    alert("请选择符号")
                    break
            }
        },
        isgtTen(num) {
            if (num >= 10) {
                m = num
            } else {
                m = "0" + num
            }
            return m
        }
    }

    window.Fools = fools
})(window, undefined)